public class Test {
    public static void main(String[] args) {
     Animal animal1 = new Dog() ;
     animal1.print();


    }
}

  abstract class Animal {

        public abstract void print() ;

    }

    class Dog extends Animal {



        @Override
        public void print() {

        }
    }
